]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
don't translate IM status
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 30 Aug 2011 12:35:20 +0000 (14:35 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 30 Aug 2011 12:36:02 +0000 (14:36 +0200)
They are well-known strings defined in the Telepathy spec and so shouldn't be
translated.

https://bugzilla.gnome.org/show_bug.cgi?id=657696

js/ui/userMenu.js

index 33c331511d739099b6148f1c8febe1b50fb0243b..115bcf7c1dfe138ae2160f0b8d0449c3dc020170 100644 (file)
@@ -250,19 +250,19 @@ IMStatusChooserItem.prototype = {
     _statusForPresence: function(presence) {
         switch(presence) {
             case Tp.ConnectionPresenceType.AVAILABLE:
-                return _("Available");
+                return 'available';
             case Tp.ConnectionPresenceType.BUSY:
-                return _("Busy");
+                return 'busy';
             case Tp.ConnectionPresenceType.OFFLINE:
-                return _("Unavailable");
+                return 'offline';
             case Tp.ConnectionPresenceType.HIDDEN:
-                return _("Hidden");
+                return 'hidden';
             case Tp.ConnectionPresenceType.AWAY:
-                return _("Away");
+                return 'away';
             case Tp.ConnectionPresenceType.EXTENDED_AWAY:
-                return _("Idle");
+                return 'xa';
             default:
-                return _("Unknown");
+                return 'unknown';
         }
     },